function [ passed ] = checkEquals(net, input, output)
%CHECKEQUALS Summary of this function goes here
%   Detailed explanation goes here

    result = netEvaluate(net, input);
    for i=1:size(result,2)
        if(result(i)>=0.8)
            result(i) = 1;
        end
        if(result(i)<=-0.8)
            result(i) = 0;
        end 
    end
    passed = isequal(output, result);
end